package pro190525;

public class practice3 {
    public static void main(String[] args) {
        int score = (int) (Math.random() * 100 + 1);
        if (score >= 80) {
            System.out.println("A");
        } else if (score >= 70)
            System.out.println("B");
    }
}
